#!/bin/bash
#url:https://github.com/mysql/mysql-docker
#docker-mysql开发库实例
sudo docker run --name=mysql-container -d \
-e MYSQL_ROOT_PASSWORD=root \
-v /home/zhoucl/var/data/volumn-docker/mysql:/var/lib/mysql \
-p 13306:3306 \
mysql/mysql-server:latest \
--character-set-server=utf8 \
--collation-server=utf8_general_ci
